package cn.tedu.xmfhlittlebird.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class CouponUpdateDTO implements Serializable {
    /**
     * 优惠券名称
     */
    @ApiModelProperty(value = "优惠券名称", required = false)
    private String title;
    /**
     * 兑换消耗积分值
     */
    @ApiModelProperty(value = "兑换消耗积分值", required = false)
    private Integer integral;
    /**
     * 兑换的优惠券面值
     */
    @ApiModelProperty(value = "兑换的优惠券面值", required = false)
    private BigDecimal couponPrice;
    /**
     * 最低消费多少金额可用优惠券
     */
    @ApiModelProperty(value = "最低消费多少金额可用优惠券", required = false)
    private BigDecimal useMinPrice;
    /**
     * 优惠券有效期限（单位：天）
     */
    @ApiModelProperty(value = "优惠券有效期限", required = false)
    private Integer couponTime;
    /**
     * 排序
     */
    @ApiModelProperty(value = "排序", required = false)
    private Integer sort;
    /**
     * 状态（0：关闭，1：开启）
     */
    @ApiModelProperty(value = "状态（0：关闭，1：开启）", required = false)
    private Integer status;
    /**
     * 商品ids
     */
    @ApiModelProperty(value = "商品ids", required = false)
    private String productId;
    /**
     * 优惠券类型 0-通用 1-商品券
     */
    @ApiModelProperty(value = "优惠券类型 0-通用 1-商品券", required = false)
    private Integer type;

    /**
     * 是否删除
     */
    @ApiModelProperty(value = "是否删除", required = false)
    private Integer isDel;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getIntegral() {
        return integral;
    }

    public void setIntegral(Integer integral) {
        this.integral = integral;
    }

    public BigDecimal getCouponPrice() {
        return couponPrice;
    }

    public void setCouponPrice(BigDecimal couponPrice) {
        this.couponPrice = couponPrice;
    }

    public BigDecimal getUseMinPrice() {
        return useMinPrice;
    }

    public void setUseMinPrice(BigDecimal useMinPrice) {
        this.useMinPrice = useMinPrice;
    }

    public Integer getCouponTime() {
        return couponTime;
    }

    public void setCouponTime(Integer couponTime) {
        this.couponTime = couponTime;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getIsDel() {
        return isDel;
    }

    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }
}
